package com.bbkb.user.dao;
import java.util.Date;

import com.bbkb.user.domain.SysUser;
import java.util.List;

import com.bbkb.user.dto.SysUserDTO;
import org.apache.ibatis.annotations.Param;

/**
  * 功能：
  * 作者：沈飞超
  * 时间：2020年09月28日 9:17
  *
 **/
public interface SysUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    int updateBatch(List<SysUser> list);

    int batchInsert(@Param("list") List<SysUser> list);

    SysUser findOneByUserName(@Param("userName")String userName);

    List<SysUser> selectByAll(SysUserDTO sysUser);

}